﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebMVC.Areas.AdminPanel.Models
{
    public class MonitoringViewModel
    {
        public ModuleStatus SMTPServerStatus { get; set; }
        public ModuleStatus DataBaseStatus { get; set; }
        public DateTime MonitoringDate { get; set; }
    }

    public class SystemStateViewModel
    {
        public decimal FreeDiskSpaceMB { get; set; }
        public decimal TotalDiskSpaceMB { get; set; }
        public decimal TotalRamMB { get; set; }
        public decimal FreeRamMB { get; set; }
    }

    public class UserStatisticViewModel
    {
        public int UsersOnline { get; set; }
        public int TotalUsers { get; set; }
        public int TotalApprovedUsers { get; set; }
        public int RegisteredToday { get; set; }
        public int RegisteredInPast24 { get; set; }
    }

   

    public enum ModuleStatus
    {
        OK,
        Unavailable,
        Problem
    }
}
